package org.example;

import javax.swing.*;
import java.awt.*;

public class Four extends JPanel {
    private JLabel cont;

    public Four() throws HeadlessException {
        this.addContent();
    }

    private void addContent() {
        this.setLayout(null);
        this.cont = new JLabel();
        this.cont.setText("安装成功！");
        this.cont.setBounds(300, 40, 100, 60);
        this.add(this.cont);
    }

    public JLabel getCont() {
        return cont;
    }

    public void setCont(JLabel cont) {
        this.cont = cont;
    }
}
